package com.he.staticproxymodel.decorator.concretedecorator;

import com.he.staticproxymodel.decorator.GiftDecorator;
import com.he.staticproxymodel.subject.GiveGift;
/**
 * 具体的送礼物装饰对象
 */
public class HouseGift extends GiftDecorator {

    public HouseGift(GiveGift giveGift) {
        super(giveGift);
    }

    @Override
    public void giveGift() {
        System.out.print("送你一套房 ");
        super.giveGift();
    }
}
